package hW2;

public class Computer {
    private InsertDrawable insertDrawable ;
    public Computer () {}

    public Computer(InsertDrawable insertDrawable) {
        this.insertDrawable = insertDrawable;
    }

    public InsertDrawable getInsertDrawable() {
        return insertDrawable;
    }

    public void setInsertDrawable(InsertDrawable insertDrawable) {
        this.insertDrawable = insertDrawable;
    }
    public void message () {
        this.getInsertDrawable().print();
    }
}
